// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI, {Message} from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import '../src/alicon/iconfont.css'
import echarts from 'echarts'
import store from './store'
Vue.prototype.$echarts = echarts
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.prototype.$axios = axios;

new Vue({
  el: '#app',
  store,
  router,
 /* components: { App },
  template: '<App/>'*/
  // 相比于上面的模式  render 模式更加轻量  不需要对 template 转化为 ast (抽象语法树)
  render:h=>h(App)
})
